<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加角色</title>
</head>
<body>

<form class="layui-form" lay-filter="layui-form">
    <div class="mainBox">
        <div class="main-container">
            <div class="main-container">
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        角色名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" lay-verify="required" autocomplete="off" placeholder="请输入角色名称"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英文别名</label>
                    <div class="layui-input-block">
                        <input type="text" name="en_alias" lay-verify="required" autocomplete="off"
                               placeholder="请输入英文别名" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">图示</label>
                    <div class="layui-input-block">
                        <div class="laytpUpload"
                             data-name="icon"
                             data-accept="image"
                             data-type="ali-oss"
                             data-showChoiceBtn="false"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">头像</label>
                    <div class="layui-input-block">
                        <div class="laytpUpload"
                             data-name="head_img"
                             data-accept="image"
                             data-type="ali-oss"
                             data-showChoiceBtn="false"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        生日</label>
                    <div class="layui-input-block">
                        <input type="text" name="birthday" lay-verify="required" autocomplete="off"
                               placeholder="请输入生日例如（X月X日）"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        称号</label>
                    <div class="layui-input-block">
                        <input type="text" name="title" lay-verify="required" autocomplete="off" placeholder="请输入称号"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">大图</label>
                    <div class="layui-input-block">
                        <div class="laytpUpload"
                             data-name="stand"
                             data-accept="image"
                             data-type="ali-oss"
                             data-showChoiceBtn="false"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        别名</label>
                    <div class="layui-input-block">
                        <input type="text" name="alias" lay-verify="required" autocomplete="off" placeholder="请输入别名"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        元素</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="element"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'雷',value:'electro'},{name:'水',value:'hydro'},{name:'火',value:'pyro'},{name:'冰',value:'cryo'},{name:'风',value:'anemo'},{name:'岩',value:'geo'},{name:'草',value:'dendro'}]"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text style="color:red;">*</text>
                        星级</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="star"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'5',value:'5'},{name:'4',value:'4'}]"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        归属</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="nation"
                             data-sourceType="route"
                             data-radio="true"
                             data-source="/admin.genshinteam.Area/area"
                             data-layVerify="required"
                             data-textField="name"
                             data-valueField="name"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        定位</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="position"
                             data-sourceType="data"
                             data-radio="false"
                             data-source="[{name:'主C',value:'主C'},{name:'副C',value:'副C'},{name:'辅助',value:'辅助'},{name:'治疗',value:'治疗'}]"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        所属</label>
                    <div class="layui-input-block">
                        <input type="text" name="suoshu" lay-verify="required" autocomplete="off" placeholder="请输入所属"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        标签</label>
                    <div class="layui-input-block">
                        <input type="text" name="tag" lay-verify="required" autocomplete="off"
                               placeholder="请输入标签(如果有多个标签请用英文的逗号隔开)"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        命座</label>
                    <div class="layui-input-block">
                        <input type="text" name="mingzuo" lay-verify="required" autocomplete="off" placeholder="请输入命座"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text style="color:red;">*</text>
                        武器</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="weapon"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'单手剑',value:'单手剑'},{name:'法器',value:'法器'},{name:'弓',value:'弓'},{name:'长柄武器',value:'长柄武器'},{name:'双手剑',value:'双手剑'}]"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        突破</label>
                    <div class="layui-input-block">
                        <input type="text" name="breach" lay-verify="required" autocomplete="off" placeholder="请输入突破"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        介绍</label>
                    <div class="layui-input-block">
                            <textarea name="introduce" placeholder="请输入介绍" class="layui-textarea"
                                      lay-verify="required"></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        点评</label>
                    <div class="layui-input-block">
                            <textarea name="comment" placeholder="请输入点评" class="layui-textarea"
                                      lay-verify="required"></textarea>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">六边形数据<font color="red">(各项数据的范围均在0-200之间)</font></blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">生存</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num1" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">深渊</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num2" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">功能</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num3" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">难度</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num4" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">辅助</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num5" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">输出</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="num6" autocomplete="off" lay-verify="number"
                                   placeholder="请输入数值" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">技能<font color="red">(前端"毕业面板"-"天赋面板"显示)</font></blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">A技能名称</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_name1" autocomplete="off"
                                   placeholder="请输入技能名称" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">A技能图示</label>
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skill_img1"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">A技能推荐等级</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_level1" autocomplete="off"
                                   placeholder="请输入推荐技能等级" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">E技能名称</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_name3" autocomplete="off"
                                   placeholder="请输入技能名称" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">E技能图示</label>
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skill_img3"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">E技能推荐等级</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_level3" autocomplete="off"
                                   placeholder="请输入推荐技能等级" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">Q技能名称</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_name2" autocomplete="off"
                                   placeholder="请输入技能名称" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">Q技能图示</label>
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skill_img2"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">Q技能推荐等级</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="skill_level2" autocomplete="off"
                                   placeholder="请输入推荐技能等级" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">武器推荐</blockquote>
                    <label class="layui-form-label">
                        <text style="color:red;">*</text>
                        武器推荐</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="recommend_weapon[]"
                             data-sourceType="route"
                             data-source="/admin.genshinteam.Weapon/weapon"
                             data-radio="false"
                             data-textField="name"
                             data-valueField="name"
                        ></div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">圣遗物推荐<font
                            color="red">(选择一个圣遗物时为四件套,选择两个圣遗物时为两件套,最多选择两个)</font></blockquote>
                    <label class="layui-form-label">
                        圣遗物推荐</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="recommend_relics1"
                             data-sourceType="route"
                             data-source="/admin.genshinteam.Relics/relics"
                             data-radio="false"
                             data-textField="relics_name"
                             data-valueField="relics_name"
                             data-max="2"
                        ></div>
                    </div>
                    <label class="layui-form-label">
                        圣遗物推荐</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="recommend_relics2"
                             data-sourceType="route"
                             data-source="/admin.genshinteam.Relics/relics"
                             data-radio="false"
                             data-textField="relics_name"
                             data-valueField="relics_name"
                             data-max="2"
                        ></div>
                    </div>
                    <label class="layui-form-label">
                        圣遗物推荐</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="recommend_relics3"
                             data-sourceType="route"
                             data-source="/admin.genshinteam.Relics/relics"
                             data-radio="false"
                             data-textField="relics_name"
                             data-valueField="relics_name"
                             data-max="2"
                        ></div>
                    </div>
                </div>

                <blockquote class="layui-elem-quote">队伍推荐<font color="red">(角色中最多选择三个,当前角色会自动添加,请勿选择当前角色)</font></blockquote>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">队伍标题</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="team_title1" autocomplete="off"
                                   placeholder="请输入标题" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="width:30%;">
                        <label class="layui-form-label two-part-label">角色</label>
                        <div class="layui-input-block">
                            <div class="xmSelect"
                                 data-name="team_role1[]"
                                 data-sourceType="route"
                                 data-source="/admin.genshinteam.role/role"
                                 data-radio="false"
                                 data-textField="name"
                                 data-valueField="name"
                                 data-max="3"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">队伍标题</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="team_title2" autocomplete="off"
                                   placeholder="请输入标题" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="width:30%;">
                        <label class="layui-form-label two-part-label">角色</label>
                        <div class="layui-input-block">
                            <div class="xmSelect"
                                 data-name="team_role2[]"
                                 data-sourceType="route"
                                 data-source="/admin.genshinteam.role/role"
                                 data-radio="false"
                                 data-textField="name"
                                 data-valueField="name"
                                 data-max="3"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">队伍标题</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="team_title3" autocomplete="off"
                                   placeholder="请输入标题" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="width:30%;">
                        <label class="layui-form-label two-part-label">角色</label>
                        <div class="layui-input-block">
                            <div class="xmSelect"
                                 data-name="team_role3[]"
                                 data-sourceType="route"
                                 data-source="/admin.genshinteam.role/role"
                                 data-radio="false"
                                 data-textField="name"
                                 data-valueField="name"
                                 data-max="3"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">队伍标题</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="team_title4" autocomplete="off"
                                   placeholder="请输入标题" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="width:30%;">
                        <label class="layui-form-label two-part-label">角色</label>
                        <div class="layui-input-block">
                            <div class="xmSelect"
                                 data-name="team_role4[]"
                                 data-sourceType="route"
                                 data-source="/admin.genshinteam.role/role"
                                 data-radio="false"
                                 data-textField="name"
                                 data-valueField="name"
                                 data-max="3"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">队伍标题</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="team_title5" autocomplete="off"
                                   placeholder="请输入标题" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="width:30%;">
                        <label class="layui-form-label two-part-label">角色</label>
                        <div class="layui-input-block">
                            <div class="xmSelect"
                                 data-name="team_role5[]"
                                 data-sourceType="route"
                                 data-source="/admin.genshinteam.role/role"
                                 data-radio="false"
                                 data-textField="name"
                                 data-valueField="name"
                                 data-max="3"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">主词条</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">时之沙</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="main_entry1" autocomplete="off"
                                   placeholder="请输入主词条-时之沙" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">空之杯</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="main_entry2" autocomplete="off"
                                   placeholder="请输入主词条-空之杯" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">理之冠</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="main_entry3" autocomplete="off"
                                   placeholder="请输入主词条-理之冠" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">生之花</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="main_entry4" autocomplete="off"
                                   placeholder="请输入主词条-生之花" class="layui-input fangkuai-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">死之羽</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <input type="text" name="main_entry5" autocomplete="off"
                                   placeholder="请输入主词条-死之羽" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">副词条</blockquote>
                    <table class="layui-table" style="margin: 0;" lay-skin="line">
                        <colgroup>
                            <col width="90%">
                            <col width="10%">
                        </colgroup>
                        <thead>
                        <tr>
                            <th>副词条</th>
                        </tr>
                        </thead>
                        <tbody class="tableDnd">
                        <tr>
                            <td style="padding: 4px 15px;">
                                <input class="layui-input" type="text" name="sub_entry[]" value=""/>
                            </td>
                            <td style="padding: 4px 15px;">
                                <a href="javascript:void(0);"
                                   class="layui-btn layui-btn-primary layui-btn-sm layui-icon layui-icon-delete delArrayItem"
                                   layer-tips="删除" title="删除"></a>
                            </td>
                        </tr>
                        <tr class='nodrop nodrag'>
                            <td colspan="4" style="padding: 4px 15px;">
                                <a href="javascript:void(0);"
                                   class="layui-btn layui-btn-primary layui-btn-sm layui-icon layui-icon-add-1 addArrayItem"
                                   title="追加">追加</a>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">加点推荐<font color="red">(每个技能只能选择一个)</font></blockquote>

                    <label class="layui-form-label">优先推荐1</label>
                    <div class="layui-input-block" style="width:60%;">
                        <div class="xmSelect"
                             data-name="add_point_recommed1"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'A',value:'A'},{name:'Q',value:'Q'},{name:'E',value:'E'}]"
                             data-layVerify="required"
                        ></div>
                    </div>


                    <label class="layui-form-label">优先推荐2</label>
                    <div class="layui-input-block" style="width:60%;">
                        <div class="xmSelect"
                             data-name="add_point_recommed2"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'A',value:'A'},{name:'Q',value:'Q'},{name:'E',value:'E'}]"
                             data-layVerify="required"
                        ></div>

                    </div>

                    <label class="layui-form-label">优先推荐3</label>
                    <div class="layui-input-block" style="width:60%;">
                        <div class="xmSelect"
                             data-name="add_point_recommed3"
                             data-sourceType="data"
                             data-radio="true"
                             data-source="[{name:'A',value:'A'},{name:'Q',value:'Q'},{name:'E',value:'E'}]"
                             data-layVerify="required"
                        ></div>
                    </div>

                </div>
                <div class="layui-form-item">
                <blockquote class="layui-elem-quote">核心命座<font color="red">(1-6数字代表角色命座顺序)</font></blockquote>

                <label class="layui-form-label">核心命座1</label>
                <div class="layui-input-block" style="width:60%;">
                    <div class="xmSelect"
                         data-name="core_mingzuo1"
                         data-sourceType="data"
                         data-radio="true"
                         data-source="[{name:'1',value:'1'},{name:'2',value:'2'},{name:'3',value:'3'},{name:'4',value:'4'},{name:'5',value:'5'},{name:'6',value:'6'}]"
                    ></div>

                </div>

                <label class="layui-form-label">核心命座2</label>
                <div class="layui-input-block" style="width:60%;">
                    <div class="xmSelect"
                         data-name="core_mingzuo2"
                         data-sourceType="data"
                         data-radio="true"
                         data-source="[{name:'1',value:'1'},{name:'2',value:'2'},{name:'3',value:'3'},{name:'4',value:'4'},{name:'5',value:'5'},{name:'6',value:'6'}]"
                    ></div>

                </div>

                <label class="layui-form-label">核心命座3</label>
                <div class="layui-input-block" style="width:60%;">
                    <div class="xmSelect"
                         data-name="core_mingzuo3"
                         data-sourceType="data"
                         data-radio="true"
                         data-source="[{name:'1',value:'1'},{name:'2',value:'2'},{name:'3',value:'3'},{name:'4',value:'4'},{name:'5',value:'5'},{name:'6',value:'6'}]"
                    ></div>

                </div>

                <label class="layui-form-label">核心命座4</label>
                <div class="layui-input-block" style="width:60%;">
                    <div class="xmSelect"
                         data-name="core_mingzuo4"
                         data-sourceType="data"
                         data-radio="true"
                         data-source="[{name:'1',value:'1'},{name:'2',value:'2'},{name:'3',value:'3'},{name:'4',value:'4'},{name:'5',value:'5'},{name:'6',value:'6'}]"
                    ></div>

                </div>
            </div>
            <div class="layui-form-item">
                <blockquote class="layui-elem-quote">毕业面板<font
                        color="red">(如以下属性非角色必须属性时,左侧属性填写******,右侧对应输入"0")</font></blockquote>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">生命</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="shengming" autocomplete="off"
                               placeholder="请输入生命" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">生命百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="health" autocomplete="off"
                               placeholder="请输入生命百分比" class="layui-input fangkuai-input">
                    </div>
                </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">攻击</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="gongji" autocomplete="off"
                               placeholder="请输入攻击" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">攻击百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="attack" autocomplete="off"
                               placeholder="请输入攻击百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">防御</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="fangyu" autocomplete="off"
                               placeholder="请输入防御" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">防御百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="defense" autocomplete="off"
                               placeholder="请输入防御百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">暴击</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="baoji" autocomplete="off"
                               placeholder="请输入暴击" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">暴击百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="crit" autocomplete="off"
                               placeholder="请输入暴击百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">暴伤</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="baoshang" autocomplete="off"
                               placeholder="请输入暴伤" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">暴伤百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="critDamage" autocomplete="off"
                               placeholder="请输入暴伤百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素精通</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="yuansujingtong" autocomplete="off"
                               placeholder="请输入元素精通" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素精通百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="elementMastery" autocomplete="off"
                               placeholder="请输入元素精通百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素加成</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="yuansujiacheng" autocomplete="off"
                               placeholder="请输入元素加成" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素加成百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="elementBonus" autocomplete="off"
                               placeholder="请输入元素加成百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素充能</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="yuansuchongneng" autocomplete="off"
                               placeholder="请输入元素充能" class="layui-input fangkuai-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label two-part-label">元素充能百分比</label>
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="elementCharge" autocomplete="off"
                               placeholder="请输入元素充能百分比" class="layui-input fangkuai-input">
                    </div>
                </div>
            </div>


        </div>
    </div>
    </div>
    </div>
    <div class="bottom">
        <div class="button-container">
            <button type="submit" class="laytp-btn laytp-btn-primary laytp-btn-sm" lay-submit="" lay-filter="add">
                <i class="layui-icon layui-icon-ok"></i>
                提交
            </button>
            <button type="reset" class="laytp-btn laytp-btn-sm">
                <i class="layui-icon layui-icon-refresh"></i>
                重置
            </button>
        </div>
    </div>
</form>
<script>
    if (localStorage.getItem("staticDomain")) {
        document.write("<link rel='stylesheet' href='" + localStorage.getItem("staticDomain") + "/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/layui/layui.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/laytp/layuiConfig.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/jquery_3.3.1.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/jquery.tablednd.js?v=" + localStorage.getItem("version") + "'><\/script>");
    } else {
        document.write("<link rel='stylesheet' href='/static/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='/static/component/layui/layui.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='/static/component/laytp/layuiConfig.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='/static/component/jquery_3.3.1.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='/static/component/jquery.tablednd.js?v=" + localStorage.getItem("version") + "'><\/script>");
    }
</script>
<script>
    layui.use(['laytp'], function () {
        layui.form.on('submit(add)', function (data) {
            var btnAnim = layui.button.load({elem: $(this)});
            facade.ajax({
                route: '/admin.genshinteam.role/add',
                data: data.field
            }).done(function (res) {
                if (res.code === 0) {
                    parent.layui.layer.close(parent.layui.layer.getFrameIndex(window.name));//关闭当前页
                    parent.layui.table.reload("laytp-table");
                }
                btnAnim.stop();
            }).fail(function () {
                btnAnim.stop();
            });
            return false;
        });
    })
</script>
</body>
</html>